
 


public class Person {
	
	private String ssn;
	private String name;
	private String address;
	private int walkingSpeed;
	
	public Person() {
		 
	}
	//overriding 
	
	public Person(String inputSSN)
	{
		
	}
	
	
	public String getPersonInformation()
	{
		return " Name is : " + this.name+"  Address is : "+address;
		
	}
 
	 
	
	/**
	 * @param ssn the ssn to set
	 */
	public void setSsn(String ssn) {
		this.ssn = ssn;
	}





	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}





	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}





	/**
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}





	/**
	 * @param address the address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}





	int walk()
	{
		walkingSpeed = 10;
		return walkingSpeed;
		
	}
	
	String talk()
	{
		return "Hello ";
	}
	
	
	 
	void  sleep()
	{
		System.out.println("Person is Sleeping");
	}
	 
}
